using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
using RideMe.Core.Properties;

namespace RideMe.Core
{
    public static class MessageService
    {
        public static void ShowError(string message)
        {
            MessageBox.Show(message, Resources.ErrorCaption, MessageBoxButtons.OK, MessageBoxIcon.Error);   
        }

        public static DialogResult ShowQuestion(string message)
        {
            return MessageBox.Show(message, Resources.DefaultMessageCaption, MessageBoxButtons.YesNo, MessageBoxIcon.Question);
        }

        public static DialogResult ShowQuestionWithCancel(string message)
        {
            return MessageBox.Show(message, Resources.DefaultMessageCaption, MessageBoxButtons.YesNoCancel, MessageBoxIcon.Question);
        }
    }
}
